<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<ul class="unstyled">
	<c:forEach items="${requestScope.messages}" var="message">
		<li class="well ">
			<strong>From 
			<a href="profile?id=${message.sender.id}"><c:out value="${message.sender.name}" /></a>
			to
			<a href="profile?id=${message.recepient.id}"><c:out value="${message.recepient.name}" /></a>
			</strong>
			<p>${message.message}</p>
			<br />
		</li>
	</c:forEach>
</ul>